package com.hualan.controller;

import com.hualan.service.CourseReplyServicecui;
import com.hualan.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/CourseReply")
public class CourseReplyControllercui {
    @Autowired
    private CourseReplyServicecui courseReplyService;

    //查询所有课堂交流回复
    @GetMapping("/findAllCourseReply")
    public R findAllCourseReply(){
        return R.success(courseReplyService.findAllCourseReply());
    }
}
